* {
  margin: 0;
  padding: 0;
}

/*  */
body {
  min-height: 100%;
  font: 400 14px/22px Arial, "Microsoft YaHei" !important;
  margin: 0 auto !important;
}

em, footer, h1, h2, h3, h4, input, li, mark, nav, ol, p, section, span, textarea, ul {
  margin: 0;
  padding: 0;
  font-weight: 400;
  list-style: none;
  font-style: normal;
}

a {
  outline-style: none;
  text-decoration: none;
}

.head_wrapper, .wd_nav, body {
  max-width: 640px;
}

.index_nav {
  position: fixed;
  bottom: 0;
  height: 50px;
  width: 100%;
  margin: 0 auto;
  background-color: #f7f7f7;
  z-index: 100;
  text-align: center;
  border-top: 1px solid #ccc;
  -webkit-transition: opacity 200ms ease;
  transition: opacity 200ms ease;
}

.wd_nav {
  position: absolute;
  bottom: 0;
  height: 50px;
  width: 100%;
  margin: 0 auto;
  background-color: #f7f7f7;
  z-index: 100;
  text-align: center;
  border-top: 1px solid #ccc;
}

.index_nav .classify, .index_nav .contact, .index_nav .dynamic, .index_nav .store {
  width: 25%;
  height: 100%;
}

.dynamic {
  position: relative;
}

.classify, .contact, .dynamic, .goshop, .store {
  float: left;
  padding-top: 8px;
  background-size: 23px;
  background-position: center 6px;
  background-repeat: no-repeat;
  font-size: 10px;
  line-height: 10px;
}

.ui-loader-default {
  display: none
}

.ui-mobile-viewport {
  border: none;
}

.ui-page {
  padding: 0;
  margin: 0;
  outline: 0
}


#main_plane {
  /* padding-bottom: 50px; */
  overflow: hidden;
}

/* 头部 */
#main_plane .hd{
  width: 100%;
  height: 40px;
}

.icon-dili{
  color: #fff;
  font-size: 14px;
  font-weight: bolder;
  line-height: 30px;
  margin-left: 10px;
}

.h-title{
  width: 100%;
  height: 30px;
  background-color: #4BCC60;
}
#main_plane .hd .nav{
  height: 30px;
  width: 100%;
  box-shadow: 0 0 10px 0 rgba(155,143,143,0.6);
  -webkit-box-shadow: 0 0 10px 0 rgba(155,143,143,0.6);
}

#main_plane .hd ul li{
  line-height: 30px;
  float: left;
  width: 1rem;
  margin-left: 10px;
  text-align: center;
}
.menu {
  color: #A8A9AD !important;
}

.menus {
  clear: both;
  width: 27%;
  float: left;
  border-right: 1px solid #f0f0f0;
  background: #f7f7f7;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translate3d(0, 0, 0);
}
.menus:before{
  display: block;
  position: relative;
  content: "";
  width: 100%;
  height: 1px;
  border-bottom: 1px solid #f7f7f7;
}
.all_list {
  float: left;
  background: #fff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translate3d(0, 0, 0);
}

.menus li {
  line-height: .8rem;
  font-size: 14px;
  text-align: center;
  color: #999;
  position: relative;

}

.li-active{
  border-bottom: 3px solid #4BCC60;
}

.menus .active {
  background: #fff;
  /*color: #4BCC60 !important;*/
  display: block;
}

.title.active {
  /*color: #4BCC60 !important;*/
}

.menus .active:before {
  content: "";
  width: 3px;
  height: 0.3rem;
  background-color: #4BCC60 !important;
  position: absolute;
  left: -0%;
  top: .20rem;
}

.menus .active:after {
  content: "";
  width: 1px;
  height: 1rem;
  background-color: #fff;
  position: absolute;
  right: -1px;
  top: 0%;
}

.title {
  font-size: .25rem;
  line-height: .5rem;
  background: #f7f7f7;
  padding-left: .1rem;
  font-weight: bold;

}

.type li {
  overflow: hidden;
  margin: 0 .1rem;
  padding: .1rem 0;
  border-bottom: 1px solid #f0f0f0;
  /*height: 2rem;*/
}

.type li div {
  float: left;
}

.pic {
  padding-top: .01rem;
  position: relative;
}

.pic img {
  width: 60px;
  height: 60px;
  left: 50%;
  top: 50%;
}

.intro {
  /*padding-top: .3rem;*/
  width: 69%;
  position: relative;
}

.intro p {
  font-size: 14px;
  color: #000;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.intro .p-title{
  word-wrap: break-word;
  word-break: normal;
}

.eee {
  color: #999;
}

.minus {
  display: block;
  width: 25px;
  height: 25px;
  position: absolute;
  right: 1.2rem;
  bottom: 0px;
  z-index: 999;
}

.minu {
  display: block;
  width: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 12px;
  border: 2px solid #E3E3E3;
  position: absolute;
  right: 1.2rem;
  bottom: 0px;
  color: #4BCC60 !important;
  font-weight: 700;
  font-size: 20px;
}

.icon {
  width: 22px;
  height: 20px;
  display: block;
  margin: 0 auto 2px;
  padding-bottom: 4px;
  overflow: hidden;
  background-size: 23px;
}

.icon img {
  width: 100%;
}

.classify a {
  color: #4BCC60;
}

.rel {
  width: 30%;
  height: 30%;
  position: relative;
}

/* 数量控制样式 */
.car-contol{
  height: auto;
  width: 60%;
  float: right !important;
}
.car-contol .icon-jia,.car-contol .icon-jian{
  font-size: .5rem;
  color: #4BCC60;
}

/* 底部购物车样式 */
.shopcar {
  position: fixed;
  bottom: 0;
  height: 40px;
  background-color: #4BCC60;
  width: 100%;
  box-shadow: 0 0 10px 0 rgba(155,143,143,0.6);
  -webkit-box-shadow: 0 0 10px 0 rgba(155,143,143,0.6);
}

.shopcar .car{
  margin-left: 10px;
  line-height: 40px;
  font-size: 30px;
  color: #4BCC60;
}
.shopcar span{
  display: inline-block;
  height: 40px;
  margin-left: 10px;
  line-height: 40px;
}
.shopcar .price{
  height: 40px;
  float: left;
  width: 70%;
  background-color: #fff;
}

.shopcar .btn{
  text-align: center;
  color: #fff;
  line-height: 40px;
}

/* badge 标记样式 */
.badge {
  width: 20px;
  height: 20px;
  border-radius: 20px;
  background-color: #E64340;
  color: #fff;
  position: absolute;
  top:2px;
  right: 15px;
  line-height: 1.5;
}